package com.carpedil.proxy.dao.impl;

import com.carpedil.proxy.dao.IUserDao;

/** @author Administrator */
public class UserDaoImpl implements IUserDao {
  @Override
  public void save() {
    System.out.println("saving data....");
  }

  /*    @Override
  public void delete() {
       重复代码
    System.out.println("开启事务....");
    System.out.println("delete data....");
       重复代码
    System.out.println("关闭事务....");
  }

  @Override
  public void add() {
       重复代码
    System.out.println("开启事务....");
    System.out.println("add data....");
       重复代码
    System.out.println("关闭事务....");
  }*/
}
